//修改页面数据 普通办法

var db=connect('youchen');

var workmate={
  name:'马优晨',
  age:33,
  sex:'man',
  job:'前端',
  skill:{
      skillOne:'HTML+CSS',
      SkillTwo:'JavaScript',
      SkillThree:'PHP',
      SkillFour:'JAVA'
  },
  regeditTime:new Date()
}


db.test.update({'name':'马优晨'},workmate); //切记直接更新变量的部分值
print('[SUCCESS]: The data was updated successfully.');